package com.chat.common.vo;

import lombok.Data;

import java.util.List;

/**
 * @author wei kunJie
 * @date 2024/4/14 14:33:00
 */
@Data
public class GroupVO {
    private Long id;

    private String groupAccount;

    private String groupName;

    private String groupAvatar;

    private String groupLeaderAccount;

    private List<UserVo> userVoList;
    private Long groupMsgGetLastTimeMilli;//某用户上一次获取这个群消息的时间

    public GroupVO updateGroupMsgGetLastTimeMilli(Long groupMsgGetLastTimeMilli){
        this.groupMsgGetLastTimeMilli=groupMsgGetLastTimeMilli;
        return this;
    }
}
